package com.guangzi.mapper;

import com.guangzi.entity.HUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;



@Mapper
public interface HuserDao extends BaseDao {

    HUser getByNamePwd(@Param("phone") String phone, @Param("pwd") String pwd);

    HUser getByPhone(@Param("phone")String phone);

    Long  register(Object obj);

    String findPwd(@Param("huid")Long huid);

    void updatePwd(@Param("huid")Long huid,@Param("hpwd")String hpwd);
}
